Skip to content

[Vindex] Added Output Log to commit to map state - #19

Merged
mhutchinson merged 1 commit into
transparency-dev:mainfrom
mhutchinson:outputLogv2
Aug 11, 2025
Merged

[Vindex] Added Output Log to commit to map state#19
mhutchinson merged 1 commit into
transparency-dev:mainfrom
mhutchinson:outputLogv2

Conversation

@mhutchinson

Copy link
Copy Markdown
Contributor

The Output Log is a POSIX Tessera log in the provided demo, but can be
changed for any other implementation that matches the OutputLog
interface.

The OutputLog is updated any time the vindex is updated. The value
written to the new leaf is the concatenation of:

  1. hex encoding of the map root
  2. a couple of newline characters
  3. the raw checkpoint from the InputLog at which the vindex was built

This includes a refactoring to push the checkpoint parsing into the
Input and Output Log definitions to improve encapsulation.

This unlocks what we need to start generating fully comprehensive proofs
for Lookup operations.

The Output Log is a POSIX Tessera log in the provided demo, but can be
changed for any other implementation that matches the OutputLog
interface.

The OutputLog is updated any time the vindex is updated. The value
written to the new leaf is the concatenation of:
 1. hex encoding of the map root
 2. a couple of newline characters
 3. the raw checkpoint from the InputLog at which the vindex was built

This includes a refactoring to push the checkpoint parsing into the
Input and Output Log definitions to improve encapsulation.

This unlocks what we need to start generating fully comprehensive proofs
for Lookup operations.
@mhutchinson
mhutchinson requested a review from AlCutter August 11, 2025 11:20
Comment thread vindex/map.go
@mhutchinson
mhutchinson merged commit b123ca4 into transparency-dev:main Aug 11, 2025
6 checks passed
@mhutchinson
mhutchinson deleted the outputLogv2 branch August 11, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants